package com.ruoyi.project.dict.spider.domain;


import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.TreeEntity;

import java.util.Date;

/**
 * 资料爬取对象 material_spider
 *
 * @author shixiangwen
 * @date 2020-05-12
 */
public class MaterialSpider extends TreeEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * url
     */
    @Excel(name = "url")
    private String url;

    /**
     * urlmd5
     */
    @Excel(name = "urlmd5")
    private String urlMd5;

    /**
     * 上级url
     */
    @Excel(name = "上级url")
    private String purl;

    /**
     * 上级urlmd5
     */
    @Excel(name = "上级urlmd5")
    private String purlMd5;

    /**
     * 上级内容ID
     */
    @Excel(name = "上级内容ID")
    private Long pid;

    /**
     * 内容
     */
    @Excel(name = "内容")
    private String content;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 是否内容页
     */
    @Excel(name = "是否内容页")
    private Integer leaf;

    /**
     * 是否顶层页
     */
    @Excel(name = "是否顶层页")
    private Integer trunk;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 标题前缀
     */
    @Excel(name = "标题前缀")
    private String prefix;

    /**
     * 入库状态
     */
    private Integer status;

    private String downloadUrl;
    private Integer resType;

    /**
     * 排序
     */
    private Integer seq;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrlMd5() {
        return urlMd5;
    }

    public void setUrlMd5(String urlMd5) {
        this.urlMd5 = urlMd5;
    }

    public String getPurl() {
        return purl;
    }

    public void setPurl(String purl) {
        this.purl = purl;
    }

    public String getPurlMd5() {
        return purlMd5;
    }

    public void setPurlMd5(String purlMd5) {
        this.purlMd5 = purlMd5;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getLeaf() {
        return leaf;
    }

    public void setLeaf(Integer leaf) {
        this.leaf = leaf;
    }

    public Integer getTrunk() {
        return trunk;
    }

    public void setTrunk(Integer trunk) {
        this.trunk = trunk;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public Integer getResType() {
        return resType;
    }

    public void setResType(Integer resType) {
        this.resType = resType;
    }
}
